﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 门诊医生工作站
{
    public partial class frm_DocWorkStation : Form
    {
        private static string _No;
        public frm_DocWorkStation(string str)
        {
            
            InitializeComponent();
            _No = str;
            this.StartPosition = FormStartPosition.CenterScreen;
        }
        
        private void 医生信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_UserInfo frm_UserInfo = new frm_UserInfo(_No);
            frm_UserInfo.MdiParent = this;
            frm_UserInfo.StartPosition = FormStartPosition.CenterScreen;
            frm_UserInfo.WindowState = FormWindowState.Maximized;
            frm_UserInfo.Show();
        }

        private void 值班信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_OnDuty frm_OnDuty = new frm_OnDuty(_No);
            frm_OnDuty.MdiParent = this;
            frm_OnDuty.StartPosition = FormStartPosition.CenterScreen;
            frm_OnDuty.WindowState = FormWindowState.Maximized;
            frm_OnDuty.Show();
        }
    }
}
